import { initState } from "./state"

export function initMixin(Vue) {

  Vue.prototype._init = function (options) {
    let vm = this
    vm.$options = options 
    // console.log(vm.$options)
    initState(vm)
  }
}